ELFS := p1.elf
# ELFS += p2.elf

%.elf: %.cpp
	@g++ -std=c++14 -O2 -Wall -Wextra -Weffc++ -DLOCAL_TEST=1 $^ -o $@

all: $(ELFS)

p1: p1.elf
	@cat p1.in | ./p1.elf

# p2: p2.elf
#	cat p2.in | ./p2.elf

clean:
	rm -rf *.elf

rebuild: clean all
